package com.itboye.ihomebank.bean;

import java.util.List;

import com.google.gson.annotations.SerializedName;

public class LockBean {
	/**
	 * 锁 ["lockId"] => int(30013) //锁id 
	 * ["date"] => int(1475975259000)//绑定时间,毫秒数 
	 * ["electricQuantity"] => int(100) //电量
	 *  ["lockAlias"] =>string(9) "科技型"//锁蓝牙名"
	 *  ["lockMac"] => string(17) "F0:C7:7F:70:92:0F"//锁mac地址 
	 * ["lockName"] => string(11) "S202_0f9270" //锁蓝牙名称
	 */
	/**
	 * 钥匙 
	 * ["lock_id"] => string(13) "sciener_30013" 
	 * ["key_id"] => string(14) "sciener_212707" 
	 * ["start"] => int(0) 
	 * ["end"] => int(0)
	 *  ["create_time"] =>int(1478664056) 
	 *  ["update_time"] => int(1478664056) 
	 *  ["status"] =>int(110401) 
	 * ["type"] => int(0) 
	 * ["lock_alias"] => string(11) "S202_0f9270"
	 * ["house_no"] => string(0) "" 
	 * ["keyStatus"] => string(12) "正常使用"
	 */
	/**
	 * 开锁记录
	 *  "lockId": 29677,  //锁id
      "recordType": 1, //开锁记录类型
      "success": 1,//是否成功
      "keyboardPwd": "", //键盘密码开锁使用的密码
      "unlockDate": 1477963445,//开锁时间
      "uid": 11, //开锁者UID
      "nickname": "2333" //开锁者的住家昵称
	 */
	private List<KeyItem> list;

	public List<KeyItem> getList() {
		return list;
	}

	public void setList(List<KeyItem> list) {
		this.list = list;
	}

	public static class KeyItem {
		@SerializedName("lockId")
		private String lockId;
		
		private String date;
		@SerializedName("electricQuantity")
		private String electricQuantity;
		@SerializedName("lockMac")
		private String lockMac;
		@SerializedName("lockName")
		private String lockName;

		@SerializedName("lockAlias")
		private String lockAlias;

		
		
	
		public String getLockAlias() {
			return lockAlias;
		}

		public void setLockAlias(String lockAlias) {
			this.lockAlias = lockAlias;
		}

		
		public String getLockId() {
			return lockId;
		}

		public void setLockId(String lockId) {
			this.lockId = lockId;
		}

		public String getDate() {
			return date;
		}

		public void setDate(String date) {
			this.date = date;
		}

		public String getElectricQuantity() {
			return electricQuantity;
		}

		public void setElectricQuantity(String electricQuantity) {
			this.electricQuantity = electricQuantity;
		}

		public String getLocakAlias() {
			return lockAlias;
		}

		public void setLocakAlias(String locakAlias) {
			this.lockAlias = locakAlias;
		}

		public String getLockMac() {
			return lockMac;
		}

		public void setLockMac(String lockMac) {
			this.lockMac = lockMac;
		}

		public String getLockName() {
			return lockName;
		}

		public void setLockName(String lockName) {
			this.lockName = lockName;
		}
	}
}
